Produced by Araxis Merge on 2023-07-12 04:42:38 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Porto v4.0.5/Theme Files/Porto Theme/app/code/Smartwave/Dailydeals/Controller/Adminhtml/Dailydeal | NewAction.php | 2018-03-14 03:44:16 +0000 |
| 2 | Porto v4.0.6/Theme Files/Porto Theme/app/code/Smartwave/Dailydeals/Controller/Adminhtml/Dailydeal | NewAction.php | 2018-03-14 03:44:16 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 1 | 78 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | 1 | <?php | |||
| 2 | namespace Smartwave\Dailydeals\Controller\Adminhtml\Dailydeal; | 2 | namespace Smartwave\Dailydeals\Controller\Adminhtml\Dailydeal; | |||
| 3 | 3 | |||||
| 4 | class NewAction extends \Magento\Backend\App\Action | 4 | class NewAction extends \Magento\Backend\App\Action | |||
| 5 | { | 5 | { | |||
| 6 | /** | 6 | /** | |||
| 7 | * Redirect result factory | 7 | * Redirect result factory | |||
| 8 | * | 8 | * | |||
| 9 | * @var \Magento\Backend\Model\View\Result\ForwardFactory | 9 | * @var \Magento\Backend\Model\View\Result\ForwardFactory | |||
| 10 | */ | 10 | */ | |||
| 11 | protected $resultForwardFactory; | 11 | protected $resultForwardFactory; | |||
| 12 | 12 | |||||
| 13 | /** | 13 | /** | |||
| 14 | * constructor | 14 | * constructor | |||
| 15 | * | 15 | * | |||
| 16 | * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory | 16 | * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory | |||
| 17 | * @param \Magento\Backend\App\Action\Context $context | 17 | * @param \Magento\Backend\App\Action\Context $context | |||
| 18 | */ | 18 | */ | |||
| 19 | public function __construct( | 19 | public function __construct( | |||
| 20 | \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory, | 20 | \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory, | |||
| 21 | \Magento\Backend\App\Action\Context $context | 21 | \Magento\Backend\App\Action\Context $context | |||
| 22 | ) { | 22 | ) { | |||
| 23 | 23 | |||||
| 24 | $this->resultForwardFactory = $resultForwardFactory; | 24 | $this->resultForwardFactory = $resultForwardFactory; | |||
| 25 | parent::__construct($context); | 25 | parent::__construct($context); | |||
| 26 | } | 26 | } | |||
| 27 | 27 | |||||
| 28 | /** | 28 | /** | |||
| 29 | * forward to edit | 29 | * forward to edit | |||
| 30 | * | 30 | * | |||
| 31 | * @return \Magento\Backend\Model\View\Result\Forward | 31 | * @return \Magento\Backend\Model\View\Result\Forward | |||
| 32 | */ | 32 | */ | |||
| 33 | public function execute() | 33 | public function execute() | |||
| 34 | { | 34 | { | |||
| 35 | $resultForward = $this->resultForwardFactory->create(); | 35 | $resultForward = $this->resultForwardFactory->create(); | |||
| 36 | $resultForward->forward('edit'); | 36 | $resultForward->forward('edit'); | |||
| 37 | return $resultForward; | 37 | return $resultForward; | |||
| 38 | } | 38 | } | |||
| 39 | } | 39 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.